package com.term.util.annotation;

import com.term.domain.common.Condition;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by chenGang on 2017/2/10.
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface FuzzyPattern {

    Condition.MatchType matchType() default Condition.MatchType.eq;

    String name() default "";

    Class targetClass() default Object.class;

    boolean isCleanSqlInjection() default false;
}
